package com.team.childapp.bean;

import java.util.List;


public class BaseListResponse<Data> {

    public static int CODE_SUCCESS = 200;

    public int code;
    public int total;
    public String msg;
    public List<Data> rows;

    public boolean isDataSuccess() {
        return rows != null && code == CODE_SUCCESS;
    }

}
